package net.fornwall.eclipsecoder.csharpsupport;

import org.eclipse.ui.plugin.AbstractUIPlugin;

public class CSharpSupportPlugIn extends AbstractUIPlugin {

	public static final String CODE_TEMPLATE_PREFERENCE = "code_template";
	public static final String BUILD_SYSTEM_PREFERENCE = "build_system";
	public static final String TARGET_FRAMEWORK_PREFERENCE = "target_framework";

	private static CSharpSupportPlugIn instance;

	public static CSharpSupportPlugIn getInstance() {
		return instance;
	}

	public CSharpSupportPlugIn() {
		super();
		instance = this;
	}

	public String getCodeTemplate() {
		return getPreferenceStore().getString(CODE_TEMPLATE_PREFERENCE);
	}

	public String getBuildSystem() {
		return getPreferenceStore().getString(BUILD_SYSTEM_PREFERENCE);
	}

	public String getTargetFramework() {
		return getPreferenceStore().getString(TARGET_FRAMEWORK_PREFERENCE);
	}

}
